﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using YUN.ProductionManage.IServices;

namespace iMES.WebApi.Cloudsian
{
    public partial class WorkHoursController 
    {
        private readonly IWorkingHoursService _service;//访问业务代码
        private readonly IHttpContextAccessor _httpContextAccessor;

        [ActivatorUtilitiesConstructor]
        public WorkHoursController(
            IWorkingHoursService service,
            IHttpContextAccessor httpContextAccessor
        )
        : base(service)
        {
            _service = service;
            _httpContextAccessor = httpContextAccessor;
        }
    }

}
